<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class ProductController extends Controller
{
    protected $category = ['跑步鞋','篮球鞋','休闲鞋','板鞋','综训鞋','户外鞋','网球鞋', '羽绒服','棉服','卫衣','长袖T恤','运动长裤','休闲长裤','T恤','童鞋','包类','运动袜','运动套装','运动外套','短裤'];
    protected $series = ['跑步系列','篮球系列','生活系列','综训系列','网球系列','户外系列'];

    public function index()
    {
        return view('admin.Product_index');
    }

    public function add()
    {
        return view('admin.Product_add')->with('category', $this->category)->with('series', $this->series);
    }
    public function save()
    {
//        echo 11;
//        $data = Input::all();
//        echo json_encode($data);
    }
}
